package com.canis.stockmanager.repository;

import com.canis.stockmanager.domai.BoxVersion;
import com.canis.stockmanager.domai.result.Combox;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

public interface BoxVersionRepository   extends JpaRepository<BoxVersion, Long> {
    @Query(value="select bv.version_name as name, bv.version_number as value from BoxVersion bv ")
    List find();
}
